﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="products_detfrm4.aspx.cs" Inherits="WebSite.cn.products_detfrm4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
      <style type="text/css">
         .propei .comment{width:100%;  float:left; margin:10px 0;}
         .comment_button{ width:70px; height:26px; }
         .comment .comment_user{width:140px;  float:left; padding-top:30px;}
         .comment .con_right{width:500px; float:left; padding:0px 20px 20px 20px; border:1px solid #EEE;}
         .comment .con_level{border-bottom:1px solid #EEE; width:80%; padding:5px 0; float:left;}
         .comment .con_body{float:left; padding-top:10px;  width:100%;}
         .comment .fleft{ float:left;}
         .comment .fright{ float:right;}
         .comment .con_body .con_title{ display:block; height:30px; float:left; width:100%;}
         .comment .con_body .con_txt{ float:left;}
         .comment span{ color:#DDD;}
    </style>
    <script language="JavaScript" src="../../js/function.js"></script>
    <script language="javascript">
        function CheckFrm() {
            var obj = 'title,content';
            var objt = '1,1';
            var msg = '标题,评论内容';
            var chks = chk(frm, obj, objt, msg)
            if (!chks) {
                return false;
            }
        }
    </script>
</head>
<body>
    <center>
    <div class="pro_con_title">
			    <p><img src="images/con_title04.gif" alt=""></p>
			    <ul>
				    <li><a href="products_detfrm.aspx?gid=<%=Request.QueryString["gid"] %>&ccount=<%= Request.QueryString["ccount"] %>" >产品简介</a></li>
				    <li><a href="products_detfrm4.aspx?gid=<%=Request.QueryString["gid"] %>&ccount=<%= Request.QueryString["ccount"] %>" class="pro_con_title02">产品评论(<%= Request.QueryString["ccount"] %>)</a></li>
                    <li><a href="products_detfrm1.aspx?gid=<%=Request.QueryString["gid"] %>&ccount=<%= Request.QueryString["ccount"] %>" >规格参数</a></li>
                    <li><a href="products_detfrm2.aspx?gid=<%=Request.QueryString["gid"] %>&ccount=<%= Request.QueryString["ccount"] %>" >售后服务</a></li>
				</ul>
		</div>
   </center>
	    <div class="propei">
	        <%=pinmsg %>
    
            <div style="margin:10px; float:left;">
                  <% Response.Write(GetComment()); %>
            </div>

            <div class="clear"></div>
            <form runat="server" id="frm">
	        <div class="prosubmit" align="left">
              <ul>
                <li>用户名：<%=members %>
                </li>
                <li>标&nbsp;&nbsp;&nbsp;题：
                  <input name="title" id="title"  style="width:320px" type="text" />
                </li>
                <li>评介等级：
                  <input name="score" type="radio" value="1" />
                  1
                  <input name="score" type="radio" value="2" />
                  2
                  <input name="score" type="radio" value="3" />
                  3
                  <input name="score" type="radio" value="4" checked="checked" />
                  4
                  <input name="score" type="radio" value="5" />
                  5</li>
                <li>
                  <textarea name="content" id="content" cols="45" rows="6"></textarea>
                </li>
                <li>
                  <asp:Button ID="Button1" CssClass="comment_button" runat="server" OnClientClick="return CheckFrm();" Text="提交评论" OnClick="Button1_Click" />
                  <input name="Input" id="btnReset" runat="server" class="comment_button" type="reset" value="重  置" />
                </li></ul>
            </div>
            </form>
        </div>

</body>
</html>
